package com.blrs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户资源共享日志对象 enterprise_share_log
 * 
 * @author wang.chao
 * @date 2024-04-18
 */
public class EnterpriseShareLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 接收企业id */
    private String receiveEnterpriseId;

    /** 接收企业名称 */
    @Excel(name = "接收企业名称")
    private String receiveEnterpriseName;

    /** 推送企业id */
    private String shareEnterpriseId;

    /** 推送企业名称 */
    @Excel(name = "推送企业名称")
    private String shareEnterpriseName;

    /** 推送人id */
    private String pushId;

    /** 推送人 */
    @Excel(name = "推送人")
    private String pushName;

    /** 推送时间 */
    //@JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReceiveEnterpriseId(String receiveEnterpriseId) 
    {
        this.receiveEnterpriseId = receiveEnterpriseId;
    }

    public String getReceiveEnterpriseId() 
    {
        return receiveEnterpriseId;
    }
    public void setReceiveEnterpriseName(String receiveEnterpriseName) 
    {
        this.receiveEnterpriseName = receiveEnterpriseName;
    }

    public String getReceiveEnterpriseName() 
    {
        return receiveEnterpriseName;
    }
    public void setShareEnterpriseId(String shareEnterpriseId) 
    {
        this.shareEnterpriseId = shareEnterpriseId;
    }

    public String getShareEnterpriseId() 
    {
        return shareEnterpriseId;
    }
    public void setShareEnterpriseName(String shareEnterpriseName) 
    {
        this.shareEnterpriseName = shareEnterpriseName;
    }

    public String getShareEnterpriseName() 
    {
        return shareEnterpriseName;
    }
    public void setPushId(String pushId) 
    {
        this.pushId = pushId;
    }

    public String getPushId() 
    {
        return pushId;
    }
    public void setPushName(String pushName) 
    {
        this.pushName = pushName;
    }

    public String getPushName() 
    {
        return pushName;
    }
    public void setPushTime(Date pushTime) 
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime() 
    {
        return pushTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiveEnterpriseId", getReceiveEnterpriseId())
            .append("receiveEnterpriseName", getReceiveEnterpriseName())
            .append("shareEnterpriseId", getShareEnterpriseId())
            .append("shareEnterpriseName", getShareEnterpriseName())
            .append("pushId", getPushId())
            .append("pushName", getPushName())
            .append("pushTime", getPushTime())
            .toString();
    }
}
